﻿<%@ page contentType="text/html; charset=UTF-8" language="java" %>
<%@ page import="com.util.SuperString" %>
<%@ page import="com.util.SuperFile" %>
<%@ page import="com.util.SuperPage" %>
<%@ page import="java.util.*" %>
<%@ page import="com.mtbu.dao.*" %>
<%@ page import="com.mtbu.comm.Util" %>
<%@ page import="com.mtbu.bean.*"%>
<%session.setAttribute("cache","y");%>
<%@include file="sys_commcheck.jsp"%>
<%
	System.out.println("request:" + request.getRequestURI());
	System.out.println("request:" + SuperPage.getCurURL(request));


    String curFile = SuperPage.getCurURLFile(request);
    String modFileDo = SuperFile.getFileName(curFile) + "do.jsp";
	String stepFile = "step.jsp";
    String curName = "项目向导";


	List<Project> listPrj = DAOManager.projectDao.findAll();

    String strOnSubmit = SuperPage.getOnSubmitCode("tvname,R", "");

%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>无标题文档</title>
<link href="css/common.css" rel="stylesheet" type="text/css">
<script language="javascript" src="js/comm.js"></script>

<script type="text/javascript">
	function onSelect()
	{
		alert(13);
	}
</script>

</head>

<body>
<div class="title_text"><%=curName%></div>

<div class="clear"><span/></div>

<table width="100%"  border="0" cellspacing="1" cellpadding="2">
  <tr>
    <td align="right">
		<!-- <input name="Submit22" type="button" class="BUTTON3" value="" onClick=""> -->
		<a href=projectmod.jsp?act=add>   新建项目   </a>
	</td>
  </tr>
</table>
<table width="100%" border="0" cellpadding="3" cellspacing="1" class="table_bord">
  <tr class="table_bord_ttl">
    <td><%=curName%></td>
  </tr>
  <tr class="tr_class1">
    <td><form name="form" method="post" action="<%=stepFile%><%=SuperPage.getQueryQ(request,"")%>" <%=strOnSubmit%>>
    <table width="100%"  border="0" cellspacing="1" cellpadding="2">
      <tr>
        <td width="13%">&nbsp;</td>
        <td width="61%">&nbsp;</td>
        <td width="26%">&nbsp;</td>
      </tr>
	  <tr>
	  	<td height="22" align="right">项目：</td>
		<td>
			<select name="pid" id="pid" >
				<% for(int i = 0 ; i < listPrj.size() ; i++) { %>
				<% Project prj = listPrj.get(i);  %>
					<option value="<%= prj.getId() %>"  >  <%= prj.getName() %> </option>
				<% } %>
			</select>

		</td>
		<td>&nbsp;</td>
	  </tr>





      <tr>
        <td align="center">&nbsp;</td>
        <td height="30">
		  <input name="Submit" type="submit" class="BUTTON2" value=" 流程管理 ">
		  <input name="Submit" type="submit" class="BUTTON2" value=" 流程预览 ">
          <input name="Submit" type="button" class="BUTTON2" value=" 取 消 " onClick="history.back(1)"></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td align="center">&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
    </table>
	</form></td>
  </tr>
</table>
<br>
</body>
</html>
